/**
 * Copyright(c) 2010 Ceno Techonologies Co., Ltd.
 *
 * History:
 *   15-4-20 下午5:38 Created by lyyang
 */
package com.jade.bss.weixin.api.token.protocol;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.jade.bss.weixin.api.protocol.json.Response;

/**
 * 微信accesstoken类
 *
 * @author <a href="mailto:lyyang@ceno.cn">lyyang</a>
 * @version 1.0 15-4-20 下午5:38
 */
public class AccessToken
        extends Response
{
    @JsonProperty ("access_token")
    private String token;
    @JsonProperty ("expires_in")
    private int expires;

    public AccessToken()
    {
    }

    public String getToken()
    {
        return token;
    }

    public void setToken(String token)
    {
        this.token = token;
    }

    public int getExpires()
    {
        return expires;
    }

    public void setExpires(int expires)
    {
        this.expires = expires;
    }
}
